package cn.com.kisen.spring.exception;


/**
 * 
 *
 * @author jiangz
 * @version 1.0 Created on 2019年10月23日 下午6:59:56
 */
public class BaseException extends Exception {

	private static final long serialVersionUID = 1L;
	
	// 异常编码
	private String code;
	// 异常相关数据
	private Object data;
	
	public String getCode() {
		return code;
	}
	
	public void setCode(String code) {
		this.code = code;
	}
	
	public Object getData() {
		return data;
	}
	
	public void setData(Object data) {
		this.data = data;
	}
}
